<template>
  <div class="z-button-group">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: 'ZButtonGroup'
}
</script>

<style>
.z-button-group>.z-button:first-child:last-child.round {
    border-radius: 20px;
}
.z-button-group>.z-button:first-child:last-child.circle {
    border-radius: 50%;
}
.z-button-group>.z-button:not(:first-child) {
    margin-left: -1px;
}
.z-button-group>.z-button:not(:first-child):not(:last-child) {
    border-radius: 0;
}
.z-button-group>.z-button:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.z-button-group>.z-button:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
</style>
